<## bbs.hts - "Town Hall" message posting system for htmlscript v2.97 PROCEDURE FOR INSTALLING THIS APPLET: 1. Copy the sample datafiles "bbscat.dat" and "bbstext.dat" to the directory where htmlscript data is stored. If you are uncertain what this means, then contact your site administrator. 2. Copy the sample applet file "bbs.hts" to the directory where htmlscript applets are stored. 3. Copy the gif files, "lid.gif," "steps.gif," "column.gif," and "white.gif" to a directory that is accessable for standard http access (e.g. public_html, etc.). 4. Change the SYSTEM CONFIGURATION VARIABLES (search for SYSTEM in this document to find this section) 5. The applet should run!! WHERE TO GET HELP: htmlscript maintains an open list server for the htmlscript users group. You can post messages to this list with questions and items of interest for other htmlscript users. To subscribe to this list send email to majordomo@htmlscript.com with the following on the *first line* of the message body (not the subject): subscribe hts-users youremail@domain.com To post messages to the list send email to hts-users@htmlscript.com ##> <## This line builds the URL for this applet, it should not need to be changed. The server_name variable contains the domain name of the server. The script_name variable contains the path to the htmlscript executable. The arg1 variable contains the name of the applet file. ##> <## SYSTEM CONFIGURATION VARIABLES Set these variables to your system configuration ##> <## graphic for forum lid ##> <## graphic for forum column ##> <## graphic for forum steps ##> <## the file for maintaining the list of available categories ##> <## the file that contains all of the messages ##> <## set the below to the maximum messages to display on searches ##> <## END OF SYSTEM CONFIGURATION VARIABLES ##> Town Hall <## handle arguments and setup the "global" data ##> <## change the current category and "drop thru" to main routine ##> <## get the search criteria ##> <## the following converts the catcode to the full cat name ##> <## now we can get the search criteria ##>
Search Messages
Search Subject For:
All Categories only ">
<## search the message file, called by "getsearch" ##>
Search Results
">
"> [Home] ">[Add Message]
<## list messages in current category starting at oldest ##>
"> [View More Messages]
"> [Home] ">[Add Message]
"> "> [Home] ">[Add Message]
<## display all of the content from a message ##>
View Message
Posted(MM-DD-YY): -- Subject:
Author: Email: ">
"> [Home] ">[Add Message]
<## add a message then drop to main routine, called by "get" ##> <## select a new category, then all ourselves at main routine ##>

<## get data for a new message to add to current category ##>
Message Entry
Category:
Your Name:
Your email:
Subject:
Enter Your Message Below
<## main routine starts here ##>

Town Hall

<## the following cascades the last message up ##> <## so we end up with the last messages displayed ##>

Total Messages: No Messages In Category. One Message In Category. Last Messages Shown.
NAME SUBJECT
">
">
">
">
">
"> [Add Message] [Change Category]
"> [Start At Oldest] "> [Search]